package com.xyt.imei.core.meta;

public enum TraceEventEnum {

	STORE(1), ALLOT(2);
	
	private int value;
	
	TraceEventEnum(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
	public static TraceEventEnum valueOf(int value) {
		TraceEventEnum[] status = TraceEventEnum.values();
		for(TraceEventEnum s : status) {
			if(s.getValue() == value)
				return s;
		}
		return null;
	}
	
}
